package com.xzh.service;

import com.xzh.model.search.AppointmentDao;
import com.xzh.util.JsonResult;

import java.util.Map;

public interface AppointmentService {
    Map<String, Object> getAppointmentsWithPagination(int page, int size, AppointmentDao  appointment);


    JsonResult<?> addList(AppointmentDao  appointment);

    boolean update(AppointmentDao appointmentDao);

    boolean complete(Integer id);

    boolean confirm(Integer id);

    boolean cancel(Integer id);

    boolean reorder(Integer id);
}
